<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="步骤4：设置日志备份恢复模式">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="sql-0012.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="sql-0016">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>步骤4：设置日志备份恢复模式</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="sql-0016"></a><a name="sql-0016"></a>

<h1 class="topictitle1">步骤4：设置日志备份恢复模式</h1>
<div><p>执行SQL Server日志备份前，需要将实例下数据库恢复模式设置为FULL，否则将会导致日志备份失败。</p>
<div class="section"><h4 class="sectiontitle">操作步骤</h4><ol><li><span>登录SQL Server数据库主机，以操作系统Windows 2019、数据库SQL Server 2019为例。</span></li><li><span>使用数据库管理员账户登录Microsoft SQL Server Management Studio管理界面。</span></li><li><span>选中对应数据库，右键<span class="uicontrol">“Properties”</span>，进入Database Properties设置界面。</span></li><li><span>单击<span class="uicontrol">“Options”</span>，设置<span class="uicontrol">“Recovery model”</span>为FULL。</span></li><li><span>单击<span class="uicontrol">“确定”</span>。</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="sql-0012.html">备份SQL Server数据库</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>